Fix the memory reservation calculations. Introduce a new architecture-specific
authorEwan Mellor <ewan@xensource.com>
Tue, 5 Sep 2006 13:17:50 +0000 (14:17 +0100)
committerEwan Mellor <ewan@xensource.com>
Tue, 5 Sep 2006 13:17:50 +0000 (14:17 +0100)
commitf470f70290f898a48c088ae361686b45a7831afb
tree4659e445b75e3dfe968f8802cbe3fef60fb2382f
parentcbf197aa0d9bd7affb10532e10fff4006b72912c
Fix the memory reservation calculations.  Introduce a new architecture-specific
call to determine the initial reservation separately from the amount of
memory to be freed up by ballooning -- when using QEMU, we lose 8 MiB to video
RAM, which must be accounted for when ballooning, but _not_ accounted for
within the domain's memory allocation.

Tidy this code up using the new architecture-specific interface arrangement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py